
<div id="table">
  <h1>Administration</h1>
  <div class="intro-cartasur">
    <h3>Visited Tracks</h3>
    This is the adminstration page for users to add visited tracks. Use this page to review visited tracks for users.
  </div>
  <table cellpadding="5" cellspacing="10">
    <th align="center" colspan="2"></th>
        <tr>
          <td >Record a visited track: </td>
          <td><%= link_to("Click here" , new_cartasur_visited_path) %></td>
        </tr>
  </table>
</div>

<hr/>

<table cellpadding="5" cellspacing="10">
  <% @visiteds.each do |visited| %>
      <tr>
        <td aligh="right">Place: <%= visited.objective_place %> | Months: <%= visited.objective_id %> | User: <%=  visited.user_login %></td>
        <td> <%= link_to("Edit" , edit_cartasur_visited_path(visited)) %></td>
        <td> <%= link_to("Show" , cartasur_visited_path(visited)) %></td>
      </tr>

  <% end %>

</table>

<br/>